home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / Developer Essentials Jul 90 / DTS Sample Code / Macintosh Sample Code / SC.024.SoundApp / SoundApp.make < prev    next >
Encoding:
Text File  |  1990-05-01  |  2.0 KB  |  67 lines  |  [TEXT/MPS ]

  1. #
  2. # Apple Macintosh Developer Technical Support
  3. #
  4. # MultiFinder-Aware SoundApp Application
  5. #
  6. # SoundApp
  7. #
  8. # SoundApp.make    -    Make Source
  9. #
  10. # Copyright © 1989-1990 Apple Computer, Inc.
  11. # All rights reserved.
  12. #
  13. # Versions:
  14. #             1.03                    May, 1990
  15. #
  16. # Components:
  17. #             SoundApp.make        May 1, 1990            MPW build script
  18. #             SoundApp.p            May 1, 1990            Pascal source code
  19. #             SoundApp.r            May 1, 1990            Rez source code
  20. #             SoundAppSnds.r        May 1, 1990            Rez source code
  21. #             SoundUnit.p            May 1, 1990            Pascal source code
  22. #
  23. # Formatting was done with FONT = Monaco, SIZE = 9, TABS = 3
  24. #
  25. # SoundApp.p is a sample application source file for demonstrating
  26. # the Sound Manager.  It requires the use of the SoundUnit to handle
  27. # all of the sound routines.  This portion of the source code handles the
  28. # application’s management of memory, errors, user interface, etc..
  29. #
  30. # Jim Reekes E.O., Macintosh Developer Technical Support
  31. # Tuesday, January 30, 1990  1:01 PM
  32. #
  33.  
  34. #--------------------------------------------------------------------------------
  35. #    The Rez templates have changed from MPW 3.0/3.1 to MPW 3.2 (or will change,
  36. #    depending on when you read this). Our .r file has conditional statements that
  37. #    will cause the right things to happen. By default, we are in 3.0/3.1 format
  38. #    mode. By setting RezOptions to Rez32Options rather than Rez31Options, we allow
  39. #    it to be compiled under MPW 3.2 instead.
  40.  
  41. Rez31Options = -rd
  42. Rez32Options = -rd -d MPW32
  43.  
  44. RezOptions = {Rez31Options}
  45.  
  46. #--------------------------------------------------------------------------------
  47.  
  48. SoundApp.p.o    ƒƒ SoundUnit.p.o
  49.  
  50. SoundApp            ƒƒ SoundAppSnds.r SoundApp.make
  51.     Rez {RezOptions} -o {Targ} SoundAppSnds.r -append
  52.  
  53. SoundApp            ƒƒ SoundApp.r SoundApp.make
  54.     Rez {RezOptions} -o {Targ} SoundApp.r -append
  55.  
  56. PObjs                =  SoundUnit.p.o                ∂
  57.                     SoundApp.p.o                     ∂
  58.                     "{Libraries}"Runtime.o        ∂
  59.                     "{Libraries}"Interface.o    ∂
  60.                     "{Libraries}"ToolLibs.o        ∂
  61.                     "{PLibraries}"SANELib.o        ∂
  62.                     "{PLibraries}"PasLib.o
  63.  
  64. SoundApp            ƒƒ {PObjs} SoundApp.make
  65.     Link -o {Targ} {PObjs}
  66.     SetFile {Targ} -t APPL -c 'SAPP' -a B
  67.